[#import "/framework/JGP.htm"  as JGP]
<!--
项目   jgp-cloud-parent
作者   LOUFEI [Gavin]
时间   2019/1/2
-->
[@JGP.head "Title"/]
[@JGP.body]
   <jgp-panel _id="mainPanel" _title="业务表单" _url="${busiForm!'/workflow/processController/showDefaultTaskForm?procId=${procId}&taskId=${taskId}&formEditFlag=${formEditFlag?c}'}"
              _onload="busiFormLoadedCallback"></jgp-panel>
[/@JGP.body]

[@JGP.foot]
    <script>
        function busiFormLoadedCallback(result){
            var iframe = result.back.el;
            var busiFormTitle = iframe.contentWindow.document.title;
            JGP.panel('mainPanel').setTitle(busiFormTitle);
        }
    </script>
[/@JGP.foot]